package com.meituan.catering.management.order.dao.mapper;

import com.meituan.catering.management.order.dao.model.CateringOrderItemDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 订单子项对应的MyBatis Mapper
 */
@Mapper
public interface CateringOrderItemMapper {

    List<CateringOrderItemDO> findById(Long tenantId, Long orderId);

    int insert(List<CateringOrderItemDO> cateringOrderItemDO);

    int update(List<CateringOrderItemDO> cateringOrderItemDOList);


}
